/*
 *  ItemList.h
 *  SquirrelAdven
 *
 *  Created by James Weaver on 3/15/11.
 *  Copyright 2011 __MyCompanyName__. All rights reserved.
 *
 */

#include <string>
#include <vector>
#include "Items.h"

using namespace std;

class ItemList {
protected:
	string filename;
	vector<Items> itemList;
	void parseData();
	
public:
	ItemList(string filename);
	~ItemList();
	
	// getter
	vector<Items> getItemList();
	Items * getItemByID(int ID);
	Items * getItemByTitle(string title);
	Items * getItemByType(int type);
	int getItemCount();
};